package com.zxy.bilibili;

import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.time.StopWatch;

import java.util.concurrent.TimeUnit;

/**
 * MainApp
 *
 * @author ZENG.XIAO.YAN
 * @version 1.0
 * @Date 2020-08-08
 */
@Slf4j
public class MainApp {
    
    /** 缓存文件存放路径 */
    private static final String SOURCE_FILE_PATH = "E:\\b\\202502517";

    /** 转换后文件存放路径 */
    private static final String TARGET_FILE_PATH = "E:\\b\\springscecurity";

    public static void main(String[] args) {
        log.info("开始转换B站视频...");
        StopWatch stopWatch = StopWatch.createStarted();
        ConvertHelper.doConvert(SOURCE_FILE_PATH, TARGET_FILE_PATH);
        stopWatch.stop();
        log.info("全部转换完成，耗时{} s", stopWatch.getTime(TimeUnit.SECONDS));
    }


}

